package com.store.pojo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

//用户表实体类
@Data
public class User {
    private Integer uid;
    private String username;
    private String password;
    private String tel;
    private String salt;
    private Integer like;    //收藏商品，（保留着，先不做）
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date deadline;    //会员到期时间
}
